/**
* \file
* \author Adam Martin
* \date 2011-10-23
* \brief Main entry point from windows for the OpenGL Module dll.
*/
#define __dll__

// System Library Includes

// Application Library Includes
#include <windows.h>

// Local Includes
#include "../sharedbase/EventLogger.h"
#include "IrrlichtRender.h"

// Forward Declarations
class ModuleInterface;

int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*) {
	return true;
}

__declspec(dllexport) ModuleInterface* ModuleFactory(EventLogger* elog) {
	EventLogger::module = "OpenGL Rendering Engine";
	EventLogger::SetEventLogger(elog);
	return new IrrlichtModule(elog);
}
